package com.kindnesslibrary.util;

import android.content.Context;
import android.net.Uri;
import android.support.v4.content.FileProvider;

import java.io.File;

/**
 * Created by lenovo on 2017/7/6.
 */

public class FileUtil {

    public static final String FILEPROVIDER = ".fileprovider";

    public static Uri getFileProvider(Context context, File inFile){
        return FileProvider.getUriForFile(context, context.getPackageName() + FILEPROVIDER, inFile);
    }

}
